package com.jju.howe.howeassistant;

import android.app.Application;

import com.iflytek.cloud.Setting;
import com.iflytek.cloud.SpeechUtility;

import org.json.JSONObject;

// 全局变量类

public class MyApp extends Application{

    // 包查找
    public JSONObject appNameFinder;
    public JSONObject packageNameFinder;

    // 启动
    @Override
    public void onCreate(){
        super.onCreate();
        Setting.setShowLog(true);
        appNameFinder = new JSONObject();
        packageNameFinder = new JSONObject();

        // 讯飞接口初始化
        SpeechUtility.createUtility(this, "appid=5eb4d530");
        //需要在 Application 的 onCreate() 中调用一次 DaemonEnv.initialize()
    }




}
